package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("spu_sku_attr_value")
@ApiModel("商品sku销售属性关联信息")
@Accessors(chain = true)
public class SpuSkuAttrValue {
    /**
     * 商品sku销售属性关联信息id
     */
    @TableId(value = "spu_sku_attr_id",type = IdType.AUTO)
    @ApiModelProperty(value = "商品sku销售属性关联信息id")
    private Integer spuSkuAttrId;
    /**
     * SPU ID
     */
    @ApiModelProperty(value = "SPU ID")
    private Integer spuId;
    /**
     * SKU ID
     */
    @ApiModelProperty(value = "SKU ID")
    private Integer skuId;
    /**
     * 销售属性ID
     */
    @ApiModelProperty(value = "销售属性ID")
    private Integer attrId;
    /**
     * 销售属性名称
     */
    @ApiModelProperty(value = "销售属性名称")
    private String attrName;
    /**
     * 销售属性值ID
     */
    @ApiModelProperty(value = "销售属性值ID")
    private Integer attrValueId;
    /**
     * 销售属性值
     */
    @ApiModelProperty(value = "销售属性值")
    private String attrValueName;
    /**
     * 状态 1:enable, 0:disable, -1:deleted
     */
    @ApiModelProperty(value = "状态 1:enable, 0:disable, -1:deleted")
    private int status;
}
